
*{
    margin: 0;
    padding: 0;
}
#root{
    width: 300px;
    margin: 50px auto;
}
h3{
    height: 50px;
    line-height: 50px;
    border-bottom: 3px solid #666;
    margin-bottom: 10px;
}
.btn{
    display: inline-block;
    padding: 0 10px;
    border: 1px solid #bbb;
    border-radius: 3px;
    height: 25px;
    line-height: 25px;
    cursor: pointer;
}
.btn:hover{
    background-color: #999;
    color: #fff;
}
.btn:active{
    background-color: aliceblue;
    color: #666;
}
.add{
    margin-top: 10px;
}
.add input{
    height: 25px;
    line-height: 25px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    padding-left: 10px
}
.add span{
    float: right;  
}
.list li{
    list-style: none;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
}
.list li .todo-cont{
    display: inline-block;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: none;
}
.list .del-todo{
    margin-top: 6px;
    float: right;
}